<template>
  <router-view></router-view>
</template>
<style>

</style>
<script>
  import AdminLayout from 'src/components/common/js/admin-layout'

  const items = [
    {
      icon: "fa fa-cogs",
      title: "系统配置",
      route: "/admin/system/config.html"
    },
    {
      icon: "fa fa-user-circle",
      title: "管理员管理",
      route: "/admin/system/admin.html"
    }, {
      icon: "fa fa-truck",
      title: "快递管理",
      route: "/admin/system/truck.html"
    },
    {
      icon: "fa fa-qq",
      title: "第三方登录",
      route: "/admin/system/openauth.html"
    }, {
      icon: "fa fa-map-marker",
      title: "地区管理",
      route: "/admin/system/district.html"
    }, {
      icon: "fa fa-th-large",
      title: "等级管理",
      route: "/admin/system/grade.html"
    }, {
      icon: "fa fa-envelope-o",
      title: "邮件模版",
      route: "/admin/system/mailtemplate.html"
    }, {
      icon: "fa fa-cloud-upload",
      title: "数据导入",
      route: "/admin/system/importdata.html"
    }, {
      icon: "fa fa-gg",
      title: "邀请码管理",
      route: "/admin/system/invitation.html"
    }
  ];

  export default {
    name: "AdminSystemMain",
    mixins: [AdminLayout],
    data() {
      return {}
    },
    methods: {},
    created: function () {
      this.showASider();
      this.setASiderItems(items);
    }
  }
</script>
